<table class="table table-hover" id="tablelist">
	<thead>
		<tr class="bg_light kill_copy">
			<th class="text-center table_width_60">[%pack:public_pack-espcms_lable_select_name%]</th>
			<th class="text-left" colspan="2">[%pack:filemanage_pack-espcms_lable_filemanage_file_filename%]</th>
			<th class="text-center table_width_150">[%pack:filemanage_pack-espcms_lable_filemanage_file_size%]</th>
			<th class="text-center table_width_150">[%pack:filemanage_pack-espcms_lable_filemanage_file_addtime%]</th>
		</tr>
	</thead>
	<tbody id="sortable">
		[%if $dir_read.filedir_id%]
		<tr id="dir_[%$dir_read.filedir_id%]" class="state-complete espcms_filedir_ok selecticon" file_id="[%$dir_read.filedir_lastid%]" file_name="[%$dir_read.filedir_name%]">
			<td class="text-center"></td>
			<td class="table_width_60"><i class="file-small-preview file-type-dir" style="margin: 0px auto; margin-top:8px;" title="[%pack:filemanage_pack-espcms_lable_filemanage_gobackdir%]" ></i></td>
			<td class="text-left" colspan="3">[%pack:filemanage_pack-espcms_lable_filemanage_gobackdir%]</td>
		</tr>
		[%/if%]

		[%if count($array_dir)>0%]
		[%forlist from=$array_dir key=i%]
		<tr id="dir_[%$array_dir[i].filedir_id%]" class="state-complete espcms_filedir_ok selecticon" file_id="[%$array_dir[i].filedir_id%]" file_name="[%$array_dir[i].filedir_name%]">
			<td class="text-center"></td>
			<td class="table_width_60"><i class="file-small-preview file-type-dir" style="margin: 0px auto; margin-top:8px;" title="[%pack:filemanage_pack-espcms_lable_filemanage_gobackdir%]" ></i></td>
			<td class="text-left">[%$array_dir[i].filedir_name%]</td>
			<td class="text-center">--</td>
			<td class="text-center">--</td>
		</tr>
		[%/forlist%]
		[%/if%]

		[%if count($array)>0%]
		[%forlist from=$array key=i%]
		<tr id="photoid_[%$array[i].file_id%]" class="state-complete espcms_fileupload_ok selecticon" file_id="[%$array[i].file_id%]" file_name="[%$array[i].file_name%]" file_url="[%$array[i].file_url%]" file_title="[%$array[i].file_title%]" file_ext="[%$array[i].file_ext%]" file_size="[%$array[i].file_size%]">
			<td class="text-center">
				<input type="checkbox" name="file_id" class="file_id" id="select_check_[%$array[i].file_id%]" value="[%$array[i].file_id%]"/>
			</td>
			<td class="table_width_60">
				<i class="file-small-preview file-type-[%$array[i].file_ext%]" style="margin: 0px auto;margin-top:5px;" title="[%$array[i].file_filename%]" ></i>
			</td>
			<td class="text-left">[%$array[i].file_filename%]</td>
			<td class="text-center">[%$array[i].file_size|format_size(1)%]</td>
			<td class="text-center">[%$array[i].file_addtime|espcms_timeformat(3)%]</td>
		</tr>
		[%/forlist%]
		[%/if%]
	</tbody>
</table>